Skip to content

Commit 26cf4a0

Browse files
authored
Merge pull request #6181 from janbrasna/fix/ci-pip-cache
Update docs workflow caching
2 parents dfba8d4 + 43de721 commit 26cf4a0

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/publish-docs.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,9 @@ jobs:
2727
- uses: actions/setup-python@v5
2828
with:
2929
python-version: 3.x
30+
cache: pip
3031
- id: pages
31-
uses: actions/configure-pages@v4
32-
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
33-
- uses: actions/cache@v4
34-
with:
35-
key: mkdocs-material-${{ env.cache_id }}
36-
path: .cache
37-
restore-keys: |
38-
mkdocs-material-
32+
uses: actions/configure-pages@v5
3933
- run: pip install mkdocs-material
4034
- run: mkdocs build -d dist
4135
- uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)